package org.grow.leavejpa.dao;

import org.grow.leavejpa.entity.LeaveEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author: xwg
 * @CreateDate: 21-6-9
 */
@Repository
public interface LeaveEntityJpa extends JpaRepository<LeaveEntity,Integer> {
    LeaveEntity findByLeaveId(Integer leaveId);
}
